package com.hnyyjsxy.domain;

/**
 * 宿管老师实体类
 * @date 2021/01/30
 */
public class Teacher {
    private int tid;//主键 id
    private String account;//账号
    private String tname;//姓名
    private String gender;//性别
    private String phone;//手机号
    private String building;//管理楼栋

    public Teacher() {
    }

    public Teacher(int tid, String account, String tname, String gender, String phone, String building) {
        this.tid = tid;
        this.account = account;
        this.tname = tname;
        this.gender = gender;
        this.phone = phone;
        this.building = building;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBuilding() {
        return building;
    }

    public void setBuilding(String building) {
        this.building = building;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tid=" + tid +
                ", account='" + account + '\'' +
                ", tname='" + tname + '\'' +
                ", gender='" + gender + '\'' +
                ", phone='" + phone + '\'' +
                ", building='" + building + '\'' +
                '}';
    }
}
